//
// Created by Administrator on 2021/10/13.
//

#ifndef MRENDER_HELLOEXCEPTION_H
#define MRENDER_HELLOEXCEPTION_H

class MBaseException : public std::exception{
private:
    const char * message;
public:
    MBaseException(const char* message) {
        this->message = message;
    }

    const char * what() const noexcept override {
        return message;
    }
};


#endif //MRENDER_HELLOEXCEPTION_H
